package com.chain.qs.modules.biz.entity;

import com.chain.qs.common.persistence.DataEntity;
import com.chain.qs.modules.sys.entity.User;
//import com.chain.qs.modules.biz.utils.HandoverExceptionEnum;

import java.util.Date;

/**
 * 值班设置Entity
 *
 * @author
 */
public class HandoverException extends DataEntity<HandoverException> {
    private static final long serialVersionUID = 1L;

    private User provider;
    private User successor;
    private String exceptionReason;
    private Date date;
    private Integer flag;
    private String exceptionExecute;

    public User getProvider() {
        return provider;
    }

    public void setProvider(User provider) {
        this.provider = provider;
    }

    public User getSuccessor() {
        return successor;
    }

    public void setSuccessor(User successor) {
        this.successor = successor;
    }

    public String getExceptionReason() {
        return exceptionReason;
    }

//    public void setExceptionReason(HandoverExceptionEnum handoverExceptionEnum) {
//        this.exceptionReason = handoverExceptionEnum.toString();
//    }


    public void setExceptionReason(String exceptionReason) {
        this.exceptionReason = exceptionReason;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getExceptionExecute() {
        return exceptionExecute;
    }

    public void setExceptionExecute(String exceptionExecute) {
        this.exceptionExecute = exceptionExecute;
    }
}
